
//*********************************************
//  This is Template of Cosmic Ray Generator
//                                  author:Ruiting
//

#ifndef _SimpleParticleGun_H_
#define _SimpleParticleGun_H_

#include "G4ThreeVector.hh"
#include "G4Types.hh"
#include "G4String.hh"
#include "G4ParticleGun.hh"
#include "MyBaseGen.hh"
#include "MyBasePos.hh"

#include <vector>
#include <string>
#include <memory>

class SimpleParticleGun: public MyBaseGen
{
public:
    SimpleParticleGun();
    ~SimpleParticleGun();

    void Initialize(YAML::Node);
    void GeneratePrimaryVertex(G4Event*);

private:
    G4ParticleGun* m_Gun;
    MyBasePos* m_PosGen;
};

#endif